Clarify the comments that some fields in GtkFileSystemModel can be NULL
authorFederico Mena Quintero <federico@novell.com>
Thu, 27 Aug 2009 00:27:40 +0000 (19:27 -0500)
committerBenjamin Otte <otte@gnome.org>
Thu, 15 Oct 2009 20:06:14 +0000 (22:06 +0200)
Signed-off-by: Federico Mena Quintero <federico@novell.com>
gtk/gtkfilesystemmodel.c

index dfc20dfa59ea5eed80bb399cce0b1a5657aa49de..c4b91ecbf3b2ba77a182087d7645f20128cb7e84 100644 (file)
@@ -65,8 +65,8 @@ struct _GtkFileSystemModel
 
   GFile *               dir;            /* directory that's displayed */
   guint                 dir_thaw_source;/* GSource id for unfreezing the model */
-  char *                attributes;     /* attributes the file info must contain */
-  GFileMonitor *        dir_monitor;    /* directory that is monitored */
+  char *                attributes;     /* attributes the file info must contain, or NULL for all attributes */
+  GFileMonitor *        dir_monitor;    /* directory that is monitored, or NULL if monitoring was not supported */
 
   GCancellable *        cancellable;    /* cancellable in use for all operations - cancelled on dispose */
   GArray *              files;          /* array of FileModelNode containing all our files */